home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
mint
/
lib
/
mlib41d.zoo
/
diffh
< prev
next >
Wrap
Text File
|
1993-11-01
|
5KB
|
135 lines
*** 40.1 1993/10/30 09:36:28
--- ./PatchLev.h 1993/10/30 10:29:40
***************
*** 3,6 ****
* directory.
*/
! #define PatchLevel "40"
--- 3,6 ----
* directory.
*/
! #define _PatchLevel "41"
*** 40.1 1993/10/30 10:18:50
--- ./errno.h 1993/10/31 11:03:20
***************
*** 46,52 ****
#define EOTHER EIDISK /* " " */
/* (gap) */
#define EINVAL 32 /* invalid function number */
- #define EOPNOTSUPP EINVAL /* " " " */
#define ENOENT 33 /* file not found */
#define ESRCH ENOENT /* pid not found */
#define ECHILD ENOENT /* no children (wait/waipid) */
--- 46,51 ----
***************
*** 87,92 ****
--- 86,131 ----
#define ENOSPC 91 /* disk full */
#define EINTR 128 /* this *should* be fake */
+
+ #ifdef __MINT__
+
+ /* Network error numbers -- only useful with Kay Roemer's socket library */
+
+ #define _NE_BASE 300
+
+ #define ENOTSOCK (_NE_BASE + 0) /* Socket operation on non-socket */
+ #define EDESTADDRREQ (_NE_BASE + 1) /* Destination address required */
+ #define EMSGSIZE (_NE_BASE + 2) /* Message too long */
+ #define EPROTOTYPE (_NE_BASE + 3) /* Protocol wrong type for socket */
+ #define ENOPROTOOPT (_NE_BASE + 4) /* Protocol not available */
+ #define EPROTONOSUPPORT (_NE_BASE + 5) /* Protocol not supported */
+ #define ESOCKTNOSUPPORT (_NE_BASE + 6) /* Socket type not supported */
+ #define EOPNOTSUPP (_NE_BASE + 7) /* Operation not supported */
+ #define EPFNOSUPPORT (_NE_BASE + 8) /* Protocol family not supported */
+ #define EAFNOSUPPORT (_NE_BASE + 9) /* Address family not supported by
+ protocol */
+ #define EADDRINUSE (_NE_BASE + 10) /* Address already in use */
+ #define EADDRNOTAVAIL (_NE_BASE + 11) /* Cannot assign requested address */
+ #define ENETDOWN (_NE_BASE + 12) /* Network is down */
+ #define ENETUNREACH (_NE_BASE + 13) /* Network is unreachable */
+ #define ENETRESET (_NE_BASE + 14) /* Network dropped conn. because of
+ reset */
+ #define ECONNABORTED (_NE_BASE + 15) /* Software caused connection abort */
+ #define ECONNRESET (_NE_BASE + 16) /* Connection reset by peer */
+ #define EISCONN (_NE_BASE + 17) /* Socket is already connected */
+ #define ENOTCONN (_NE_BASE + 18) /* Socket is not connected */
+ #define ESHUTDOWN (_NE_BASE + 19) /* Cannot send after shutdown */
+ #define ETIMEDOUT (_NE_BASE + 20) /* Connection timed out */
+ #define ECONNREFUSED (_NE_BASE + 21) /* Connection refused */
+ #define EHOSTDOWN (_NE_BASE + 22) /* Host is down */
+ #define EHOSTUNREACH (_NE_BASE + 23) /* No route to host */
+ #define EALREADY (_NE_BASE + 24) /* Operation already in progress */
+ #define EINPROGRESS (_NE_BASE + 25) /* Operation now in progress */
+ #define EWOULDBLOCK (_NE_BASE + 26) /* Operation would block */
+
+ #define _NE_MAX EWOULDBLOCK
+
+ #endif
#ifndef AssemB
extern int errno;
*** 40.1 1993/10/30 10:18:50
--- ./osbind.h 1993/10/31 09:10:26
***************
*** 94,99 ****
--- 94,108 ----
* this with -fomit-frame-pointer was causing the temps (from evaluing
* the args) to be created on the stack, but when we changed sp
* from under gccs feet, the offsets to the temps ended up being wrong.
+ *
+ * 10/28/93 ++jrb
+ * relax the constraints on the inputs of trap_14_wwwwwww (only
+ * Rsconf maps to this) to "g" from "r", as these many "r" 's
+ * give gcc 2.>3.X heartaches (understandably). note this is ok
+ * since these args will never be expressions, and we never
+ * have to constrain hard enough to force eval before we change
+ * sp from underneath gcc.
+ *
*/
#ifndef _OSBIND_H
***************
*** 115,123 ****
/* we supply a library of bindings for TurboC / PureC */
! long gemdos( void, ... );
! long bios( void, ... );
! long xbios( void, ... );
/* Gemdos prototypes */
--- 124,132 ----
/* we supply a library of bindings for TurboC / PureC */
! long gemdos( short, ... );
! long bios( short, ... );
! long xbios( short, ... );
/* Gemdos prototypes */
***************
*** 1372,1379 ****
trap #14; \
lea sp@(14),sp " \
: "=r"(retvalue) /* outputs */ \
! : "g"(n), "r"(_a), \
! "r"(_b), "r"(_c), "r"(_d), "r"(_e), "r"(_f) /* inputs */ \
: "d0", "d1", "d2", "a0", "a1", "a2", "memory" \
); \
retvalue; \
--- 1381,1388 ----
trap #14; \
lea sp@(14),sp " \
: "=r"(retvalue) /* outputs */ \
! : "g"(n), "g"(_a), \
! "g"(_b), "g"(_c), "g"(_d), "g"(_e), "g"(_f) /* inputs */ \
: "d0", "d1", "d2", "a0", "a1", "a2", "memory" \
); \
retvalue; \